package com.mustafaiev.tair.cts.service;

import java.util.ArrayList;
import java.util.List;

import org.dozer.DozerBeanMapper;
import org.dozer.Mapper;

public class DozerMapper {

	private final DozerBeanMapper mapper;

	public DozerMapper() {
		this.mapper = new DozerBeanMapper();
		final List<String> mappingFileUrls = new ArrayList<String>();
		mappingFileUrls.add("dozer-mapping.xml");
		this.mapper.setMappingFiles(mappingFileUrls);
	}

	public Mapper getMapper() {
		return this.mapper;
	}

}
